export default {
  namespaced: true,
  state: {
    id: 0,
    name: '',
    cityId:"",
    staffAccount: '',
    groupId:0,
    styleFlag: "dark", //默认色
  },
  mutations: {
    updateId (state, id) {
      state.id = id
    },
    upgroupId (state, groupId) {
      state.groupId = groupId
    },
    updateName (state, name) {
      state.name = name
    },
    updateCityCode(state, cityId) {
      state.cityId = cityId
    },
    updateStaffAccount (state, staffAccount) {
      state.staffAccount = staffAccount
    },
    updateStyleFlag (state, styleFlag) {
      state.styleFlag = styleFlag
    }
  }
}
